﻿<div id="pui_util_window">
	
</div>
<script>
(function(){
	var dr=new Mui.util.DocsRender({
		renderTo:'pui_util_window',
		data:{
			title:'Mui.util.Window',
			superclass:'Mui.util.Viewer',
			desc:'该组件继承自Viewer，提供弹出的窗体，并在窗体的背后添加半透明的遮罩层，屏蔽后续的内容',
			private:[{
				name:'__eventBus',
				desc:'对象的事件容器',
				type:'object',
				def:'{}'
			},{
				name:'__type',
				desc:'类型，用于对类进行描述',
				type:'string',
				def:'Viewer'
			},{
				name:'__constructor',
				desc:'构造函数',
				type:'string',
				def:'Mui.util.Viewer'
			}],
			public:[{
				name:'hasClose',
				desc:'是否有关闭按钮',
				type:'boolean',
				def:'true'
			},{
				name:'hasMin',
				desc:'是否有最小化按钮',
				type:'boolean',
				def:'true'
			},{
				name:'hasMax',
				desc:'是否有最大化按钮',
				type:'boolean',
				def:'true'
			},{
				name:'hasColl',
				desc:'是否有收起展开按钮',
				type:'boolean',
				def:'true'
			},{
				name:'hasRefresh',
				desc:'是否有刷新按钮',
				type:'boolean',
				def:'true'
			},{
				name:'dragAble',
				desc:'表示该弹出窗可以拖动',
				type:'boolean',
				def:'true'
			}],
			fn:[
			{
				name:'showOverlay()',
				desc:'显示遮罩层',
				ret:''
			},
			{
				name:'hideOverlay()',
				desc:'隐藏遮罩层',
				param:[]
			},
			{
				name:'show()',
				desc:'重写父类的show方法，除执行父类的show方法之外，还执行遮罩层的显示'
			},
			{
				name:'hide()',
				desc:'重写父类的hide方法，除执行父类的hide方法之外，还执行遮罩层的隐藏'
			}, 
			{
				name:'destory()',
				desc:'重写父类的destory方法，销毁弹出窗体，包括弹出的层和遮罩层'
			},
			{
				name:'initComponent()',
				desc:'重写父类的initComponent方法'
			}
			]
		}
	});
})();
</script>